package com.shop.cereshop.business.param.logistics;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @description: TODO
 * @author lx
 * @date 2025/11/26 10:55
 * @version 1.0
 */
@Data
@ApiModel(description = "物流方案设置参数")
public class LogistSetDTO {

    @ApiModelProperty(value = "运费类型 1-全国包邮(可设置不包邮地区) 2-全国不包邮 3-满额包邮(可设置不包邮地区)")
    private Integer logisticsType;

    @ApiModelProperty(value = "满额包邮金额阈值(仅logistics_type= 3时生效)")
    private BigDecimal logisticsFreeFee;

    @ApiModelProperty(value = "不包邮地区列表(省) 仅在logistics_type = 1 和 =3时生效")
    private List<String> excludeRegionList;

    @ApiModelProperty(value = "不包邮地区列表拼接字符串(市) 仅在logistics_type = 1 和 =3时生效 业务字段不需要传")
    private String excludeRegions;

    @ApiModelProperty(value = "店铺ID 业务字段不需要传")
    private Long shopId;
}
